package com.bjut.dao;

import java.util.List;

import com.bjut.domain.Employee;
import com.bjut.domain.Position;
import com.bjut.domain.User;

public interface EmployeeDao {
	public void save(Employee employee);

	public Employee get(int id);

	public void delete(Employee employee);

	public void delete(int id);

	public void update(Employee employee);

	public Employee findById(int id);
	
	public Employee findByEmpId(int empid);

	public Employee findEmployeeByname(String name);

	public List<Employee> findAllByPage(int pageNo, int pageSize);

	public List<Employee> findAll();

	public List<Employee> findByDepartmentAndPage(int department_id,
			int pageNo, int pageSize);

	public long getCountByDepartment(int department_id);

	public long getCount();
}
